<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>新建学习空间</title>
    <link rel="stylesheet" href="../css/personal-center.css"/>
    <script type="text/javascript" src="../js/personal-center.js"></script>
</head>

<body>
<!--****************顶部导航************-->
<%@include file="../jsp/common/nav.jsp"%>
<!--*******************个人中心**********************-->
<!--标题导航-->
<c:set var="user" value="${sessionScope.user}"/>
<div class="personal-nav">
    <span class="personal-nav-title"><a href="/index/main?id=${user.id}">学习空间</a></span>
    >
    <span class="personal-nav-title"><a href="/space/space-joinspace">加入学习空间</a></span>
    >
    <span>软件工程（国防科技大学）</span>
</div>
<!--个人信息-->
<div class="personal">
    <div class="personal-left" id="personal-left">
        <h1>加入学习空间</h1>
        <span>学习空间可以用于存放学习资料、心得体会，讨论问题等。</span>
    </div>
    <div class="personal-right">
        <form action="/space/space-joinspace" method="post">
            <ul>
                <input type="hidden" name="userId" value="${user.id}">
                <li><h3>空间ID</h3></li>
                <li>
                    <input type="text" size="10" name="space_id" onfocus="FocusItem(this)" onblur="CheckItem(this);"/>
                    <span></span>
                </li>
            </ul>
            <input type="submit" id="sumbit" value="加入空间"/>
            <input type="button" id="default" value="取消" onclick="location.href='${pageContext.request.contextPath}/index/main?id=${user.id}'"/>
        </form>
    </div>
</div>
</body>
</html>
